#include "StringUtil.h"
#include <stdio.h>


int main(void)
{
	uint8_t hex[4] = {0x12, 0xDD, 0xEF, 0x35};
	uint8_t str[20] = {0};
	Hex2String(str, hex, 4);
	
	printf("str:%s\r\n", str);
	
	
	char * hexStr = "AABBDF1232";
	uint8_t hex2[10] = {0};
	int i;
	String2HexArray(hexStr, hex2);
	printf("hex:%02x%02x%02x%02x%02x\r\n", hex2[0], hex2[1], hex2[2], hex2[3],hex2[4]);
}